<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
</head>

<body>
    <div class="yeye">
        <div class="parent">
            <div class="son">我是儿子</div>
        </div>
    </div>
    <!-- //parent方法 -->

    <script src="../jquery.min.js"></script>
    <script src="">
        $(function() {
            console.log($('.son').parent())
        })
    </script>
</body>

</html>